<template>
  <div class="main">
    <keep-alive :include="caches">
      <router-view v-if="isRenderTab" :key="$route.fullPath" />
    </keep-alive>
  </div>
</template>
<script>
import { mapState } from 'vuex';
export default {
  name: 'RouteView',
  data() {
    return {};
  },
  created() {},
  destroyed() {},
  computed: {
    ...mapState('cache', ['caches']),
    ...mapState(['isRenderTab']),
  },
  methods: {},

  watch: {},
};
</script>
